package summer_vacation.liulee.month7.day20150729;
import java.util.Scanner;
/**
 * Created by Administrator on 2015/7/29.
 */
public class Java25 {
    public static void main(String[] args) {
        System.out.println("任意输入1-7之间的整数：");
        Scanner input=new Scanner(System.in);
        int a=input.nextInt();
        switch (a){
            case 1:
                System.out.println("Monday");break;
            case 2:
                System.out.println("Tuesday");break;
            case 3:
                System.out.println("Wednesday");break;
            case 4:
                System.out.println("Thursday");break;
            case 5:
                System.out.println("Friday");break;
            case 6:
                System.out.println("Saturday");break;
            case 7:
                System.out.println("Sunday");break;
            default:
                System.out.println("这是一个错误值");
        }
    }
}
